- 
                Notifications
    
You must be signed in to change notification settings  - Fork 44
 
fix: make serverless use bare #1318
fix: make serverless use bare #1318
Conversation
| 
           The latest updates on your projects. Learn more about Vercel for GitHub. 
  | 
    
| 
           Claude finished @MasterPtato's task —— View job PR Review: fix: make serverless use bareTodo List:
 Review SummaryThis PR makes two main changes: 
 Code Quality & Best Practices ✅Positive aspects: 
 Areas for improvement: 
 Potential Bugs & Issues 
 | 
    
| 
           Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. 
 How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue: 
 You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking.  | 
    
          More templates
 
 @rivetkit/actor
 @rivetkit/cloudflare-workers
 @rivetkit/core
 @rivetkit/db
 @rivetkit/framework-base
 @rivetkit/next-js
 @rivetkit/react
 rivetkit
 @rivetkit/sql-loader
 commit:   | 
    
74198be    to
    caa2ed2      
    Compare
  
    ef8c5b1    to
    de19ac5      
    Compare
  
    | 
           Claude finished @MasterPtato's task —— View job Claude finished @MasterPtato's task —— View job PR Review: fix: make serverless use bareTodo List:
 Review SummaryThis PR makes two main changes: 
 Code Quality & Best Practices ✅Positive aspects: 
 Areas for improvement: 
 Potential Bugs & Issues 
 | 
    
| 
           Claude finished @MasterPtato's task —— View job PR Review: fix: make serverless use bareTodo List:
 Review SummaryThis PR makes two coordinated changes: 
 Code Quality & Best Practices ✅Positive aspects: 
 Areas for improvement: 
 Potential Bugs & Issues 
 | 
    
          Merge activity
  | 
    
2979376    to
    31e38ca      
    Compare
  
    de19ac5    to
    6d1f0f5      
    Compare
  
    | 
           Claude finished @MasterPtato's task —— View job PR Review: fix: make serverless use bareTodo List:
 Review SummaryThis PR makes two coordinated changes to support "bare" protocol usage in serverless initialization: 
 Code Quality & Best Practices ✅Positive aspects: 
 Areas for improvement: 
 Potential Bugs & Issues 
 | 
    
| invariant(runnerId, "runnerId not set"); | ||
| stream.writeSSE({ data: runnerId }); | ||
| const payload = this.#runner.getServerlessInitPacket(); | ||
| invariant(payload, "runnerId not set"); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message "runnerId not set" doesn't match what's being validated in the updated code. Since the check is now for payload rather than runnerId, consider updating the error message to something like "serverless init packet not available" to accurately reflect the condition being tested.
| invariant(payload, "runnerId not set"); | |
| invariant(payload, "serverless init packet not available"); | 
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.

No description provided.